<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>添加</title> @include("/common/cssAndJs.html"){}
</head>
<body>
	<div class="x-body layui-anim layui-anim-up">
		<div class="layui-container">
			<div class="layui-row">
				<div class="layui-col-md2"></div>
				<div class="layui-col-md8">
					<form action="${ctxPath}/tSystemDict/tSystemDictAdd" class="layui-form addForm" onsubmit="return false">
						<input type="hidden" name="id" id="id">

						<div class="layui-form-item">
							<label class="layui-form-label"> 上级字典 </label>
							<div class="layui-input-block">
								<input type="hidden" id="pId" name="pId" value=""> <input type="text" id="showNameDom" name="showNameDom" autocomplete="off" class="layui-input boot-layer" boot-url="${ctxPath}/common/showTree?treeUrl=${ctxPath}/tSystemDict/tSystemDictList&treeTitle=name&showNameDom=showNameDom&showIdDom=pId "
									boot-width="300" boot-height="400" boot-title="选择上级" end="function(){}" placeholder="请选择上级">
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label"> <span class="x-red">*</span>字典名称
							</label>
							<div class="layui-input-block">
								<input type="text" id="name" name="name" placeholder="请输入字典名称" lay-verify="required|maxlengths" maxlengths="255" autocomplete="off" class="layui-input">
							</div>

						</div>
						<div class="layui-form-item">
							<label class="layui-form-label"> <span class="x-red">*</span>字典值
							</label>
							<div class="layui-input-block">
								<input type="text" id="dictValue" name="dictValue" placeholder="请输入字典值" lay-verify="required|maxlengths" maxlengths="255" autocomplete="off" class="layui-input">
							</div>

						</div>
						<div class="layui-form-item">
							<label class="layui-form-label"> <span class="x-red">*</span>提示
							</label>
							<div class="layui-input-block">
								<input type="text" id="tips" name="tips" placeholder="请输入提示" lay-verify="required|maxlengths" maxlengths="255" autocomplete="off" class="layui-input">
							</div>

						</div>
						<div class="layui-form-item">
							<label class="layui-form-label"> </label>
							<button class="layui-btn" lay-filter="boot-form-btn" lay-submit="">增加</button>
						</div>
					</form>
					<div class="layui-col-md2"></div>
				</div>
			</div>
		</div>
	</div>
	<script src="${ctxPath}/static/js/view/system/tSystemDict/tSystemDict.js"></script>
</body>
</html>